/**
 * 
 */
package design_pattern.command;

/**
 * @author linzq
 *
 */
public class Client {

  /**
   * @param args
   */
  public static void main(String[] args) {
    Receiver receiver = new ConcreteReceiver();
    Command command = new ConcreteCommand(receiver);
    Invoker invoker = new Invoker(command);
    invoker.action();
  }

}
